const path = require("path");

const basePath = "/User/why";
const fileName = "abc.txt";

// const path = basePath + "/" + filePath;

const filePath = path.resolve(basePath, fileName);

console.log(filePath);
